//
//  ListViewController.h
//  shareTest
//
//  Created by liliang on 13-5-17.
//  Copyright (c) 2013年 李 良. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import <MessageUI/MessageUI.h>
#import <MessageUI/MFMailComposeViewController.h>
#import "WeiboSDK.h"
#import "WXApi.h"

@interface ShareViewController : UIViewController<MFMailComposeViewControllerDelegate,UIAlertViewDelegate,UITableViewDataSource,UITableViewDelegate>

@property(strong,nonatomic) NSMutableArray *shareArray;
@property(strong,nonatomic) NSMutableDictionary *shareDictionary;
@property(nonatomic,assign) id delegate;
@property(strong,nonatomic) NSString *titleStr;
@property(strong,nonatomic) NSString *contentStr;
@property(strong,nonatomic) NSURL *url;


-(ShareViewController *)initWithTitle:(NSString *)title
                             content:(NSString *)content
                                 url:(NSURL *)url;
-(void)show;

@end

extern void socialNetwork(id delegate,NSString *serialized);
